package com.ece.devirtualizus.Detectors;

import android.hardware.SensorEvent;
import android.hardware.SensorEventListener;
import android.location.Location;

public interface DetectorInterface extends SensorEventListener{
	public int getDetectorValues(SensorEvent event);
	
	//To implement if you want to use location listener instead of event listener
	public int getDetectorValues(Location location);
	
	/**
	 * To start detection
	 * Usually, you'll have to initiate and configure your sensorManager inside this fonction
	 */
	public void startDetection();
	
	/**
	 * 
	 */
	public void stopDetection();
}
